package cn.sylinx.hbatis.ext.res;

public class ClasspathSqlResource {

	private String sqlpath;

	private StatementHandler statementHandler;

	public ClasspathSqlResource() {
	}

	public ClasspathSqlResource(String sqlpath) {
		this.sqlpath = sqlpath;
	}

	public StatementHandler getStatementHandler() {
		return statementHandler;
	}

	public void setStatementHandler(StatementHandler statementHandler) {
		this.statementHandler = statementHandler;
	}

	public SqlResourceType getSqlResourceType() {
		return SqlResourceType.CLASSPATHSQL;
	}

	public String getSqlResource() {
		return getSqlpath();
	}

	public String getSqlpath() {
		return sqlpath;
	}

	public void setSqlpath(String sqlpath) {
		this.sqlpath = sqlpath;
	}

}
